









package com.company.tguanchazhemoshi.section5;

import java.util.Observable;


/**
 * @author cbf4Life cbf4life@126.com
 * I'm glad to share my knowledge with you all.
 * �����ӣ���˹��ʦ�ܣ���������Ҫ����
 */
public class HanFeiZi extends Observable{
	
	
	public void haveBreakfast(){
		System.out.println("������:��ʼ�Է���...");
		
		super.setChanged();
		super.notifyObservers("�������ڳԷ�");
		
	}
	
	
	public void haveFun(){
		System.out.println("������:��ʼ������...");
		super.setChanged();
		this.notifyObservers("������������");
	}
	
}